package com.bbs.utils;

public enum SystemEnum {

    RESULT_ERROR("ERROR", 0),//失败
    RESULT_OK("OK", 1),//成功
    RESULT_OTHER_CODE("其他", 2);
    private String message;
    private int code;

    SystemEnum(String name, int code) {
        this.message = name;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public int getCode() {
        return code;
    }
}
